home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
PET
/
S-Super PET
/
(s)t5.d64
/
EDA.SCAT.INF
< prev
next >
Wrap
Text File
|
2009-01-18
|
3KB
|
65 lines
PPPP scatter plots PPPP
@@@@@@@@@@@@@
introduction the function KscatK displays data plotted against
@@@@@@@@@@@@ a Kcarrier variableK. it accepts a numeric vector
or array as its right argument. if the argument is a
vector of size n then the carrier variable is the
first n positive integers. if it is an array the
carrier variable is the first column of the array and
data in the other specified columns of the array are
plotted against these data on the same axes.
command syntax scat dddd _produces a scatter plot of data in
@@@@@@@@@@@@@@ dddd as previously indicated
scat dddd;<2 3 6' _produces a plot of data in cols 3,6
against col 2 on the same axes.
parameters five parameters which can be altered by the user >_
@@@@@@@@@@ wid and dep _controls horizontal and vertical
defaults :30 15" dimensions of the display
ndivx and ndivy _controls no. of units on x and y
defaults :4 4" axes
parameters atom _avoids division by zero
@@@@@@@@@@ default :10P@6"
comments when plotting numeric vectors or two column arrays
the plotting symbol is KJK. the symbols 1 to 9 and
indicate coincidence of multiple data values.
when plotting arrarys with up to 9 columns the pattern
is necessarily more complicated. the rules are>_
column symbol overlap :within" overlap :amongst"
@@@@@@ @@@@@@ @@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@
1 nil :carrier"
2 a z
3 b y
4 c x
5 d w
6 e v
7 f u
8 g t
9 h s
e.g. KzK_ overlap from col 2< K K_ overlap from cols 2 and 3 :say"
comments care is needed in specifying your plots in order to
firstly choose your carrier, and secondly to produce
a display which is comprehensible
practice
in this work space there is a data set called insects :p 12, mcneil"
try the following commands>_
insects _display data in insectsK
scat ,insects _produces a scatter plot of all values
against the first 72 positine integers
scat insects;<1 2' _scatter plot of col 2 against col 1
scat insects _scatter plot of cols 2_5 against col 1